package com.example.api.rest;

import com.example.api.feign.LoginService;
import com.example.common.msg.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("api")
public class LoginController {
    @Autowired
    LoginService loginService;

    @RequestMapping(value = "login")
    public R test() {
        return loginService.login();
    }
}
